package com.itcast.java.member.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 成长值变化历史记录实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:27:34
 */
@Data
@TableName("ums_growth_change_history")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "UmsGrowthChangeHistoryEntity对象", description = "成长值变化历史记录")
public class UmsGrowthChangeHistoryEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "member_id")
    @TableField("member_id")
    private Long memberId;

    @ApiModelProperty(value = "create_time")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "改变的值（正负计数）")
    @TableField("change_count")
    private Integer changeCount;

    @ApiModelProperty(value = "备注")
    @TableField("note")
    private String note;

    @ApiModelProperty(value = "积分来源[0-购物，1-管理员修改]")
    @TableField("source_type")
    private Integer sourceType;

}